import request from '@/utils/request'

// 查询班次外日程管理列表
export function listExternalschedulemanagement(query) {
  return request({
    url: '/system/externalschedulemanagement/list',
    method: 'get',
    params: query
  })
}

// 查询班次外日程管理详细
export function getExternalschedulemanagement(id) {
  return request({
    url: '/system/externalschedulemanagement/' + id,
    method: 'get'
  })
}

// 新增班次外日程管理
export function addExternalschedulemanagement(data) {
  return request({
    url: '/system/externalschedulemanagement',
    method: 'post',
    data: data
  })
}

// 修改班次外日程管理
export function updateExternalschedulemanagement(data) {
  return request({
    url: '/system/externalschedulemanagement',
    method: 'put',
    data: data
  })
}

// 删除班次外日程管理
export function delExternalschedulemanagement(id) {
  return request({
    url: '/system/externalschedulemanagement/' + id,
    method: 'delete'
  })
}
